let statusBarHeight
let menuButtonHeight
let totalHeight
export const getHeight = () => {
	statusBarHeight = uni.getSystemInfoSync().statusBarHeight || 44
	// #ifdef MP-WEIXIN
	menuButtonHeight = uni.getMenuButtonBoundingClientRect().height
	// #endif
	// #ifndef MP-WEIXIN
	menuButtonHeight = 0
	// #endif
	totalHeight = statusBarHeight + menuButtonHeight
	return totalHeight
}